package device

import (
	"context"

	"gitee.com/wenchangshou/simple-admin-pancakebot-rpc/internal/svc"
	"gitee.com/wenchangshou/simple-admin-pancakebot-rpc/types/pancakebot"

	"github.com/zeromicro/go-zero/core/logx"
)

type GetDeviceByIdLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewGetDeviceByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDeviceByIdLogic {
	return &GetDeviceByIdLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *GetDeviceByIdLogic) GetDeviceById(in *pancakebot.IDReq) (*pancakebot.DeviceInfo, error) {
	// todo: add your logic here and delete this line

	return &pancakebot.DeviceInfo{}, nil
}
